package com.wulian.user.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import org.springframework.data.annotation.Transient;

import java.io.Serializable;
import java.util.Date;
/**
 *@Description:()
 * @author  caifulin
 * @date  2020/4/23 16:44
 * @version 1.0
 */
@Data
@TableName("sys_area_t")
@ApiModel("区域字典表")
@ToString
public class SysAreaT extends Model<SysAreaT> {

    @ApiModelProperty("id")
    private Integer id;

    @ApiModelProperty("create_time")
    private Date createTime;

    @ApiModelProperty("update_time")
    private Date updateTime;

    @ApiModelProperty("version_number")
    private Integer versionNumber;

    @ApiModelProperty("code")
    private String code;

    @ApiModelProperty("name")
    private String name;

    @ApiModelProperty("full_name")
    private String fullName;

    @ApiModelProperty("grade")
    private Integer grade;

    @ApiModelProperty("parent")
    private Integer parent;

    @TableField(exist = false)
    private Integer type;

    @Override
    protected Serializable pkVal() {
        return null;
    }

    public SysAreaT() {
        super();
    }
}